﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ClientForm.aspx.cs" Inherits="WebClient.WebClientForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        #form1
        {
            height: 655px;
            width: 465px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" style="border: 1px solid #000000" 
    title="Ковертер температур" visible="True">
        <p style="margin-top: 0px">
            Конвертер температур
            </p>
            <asp:Panel ID="Panel1" 
            runat="server" Height="256px" 
            Width="270px" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" 
            style="margin-left: 100px">
            <asp:Panel ID="Panel2" runat="server" Height="80px" Width="140px" 
                style="margin-top: 20px; margin-bottom: 1px; margin-left: 60px;" BorderStyle="Solid" 
                BorderWidth="1px">
                <asp:TextBox ID="inputValue" runat="server" style="margin-top: 7px; margin-left: 17px;" 
                    Width="96px">0</asp:TextBox>
                <asp:DropDownList ID="inputType" runat="server" Height="17px" 
                    style="margin-top: 10px; margin-left: 20px;" Width="93px">
                    <asp:ListItem>C</asp:ListItem>
                    <asp:ListItem>K</asp:ListItem>
                    <asp:ListItem>F</asp:ListItem>
                    <asp:ListItem>N</asp:ListItem>
                </asp:DropDownList>
            </asp:Panel>
            <asp:Button ID="convertButton" runat="server" Text="=" Height="27px" 
                style="margin-top: 11px; margin-bottom: 0px; margin-left: 106px;" 
                onclick="convertButton_Click1" Width="43px" />
            <asp:Panel ID="Panel3" runat="server" Height="80px" Width="140px" 
                style="margin-top: 15px; margin-left: 60px;" BorderColor="Black" BorderStyle="Solid" 
                BorderWidth="1px">
                <asp:TextBox ID="outputValue" runat="server" ReadOnly="True" 
                    style="margin-top: 10px; margin-left: 17px;" Width="105px"></asp:TextBox>
                <asp:DropDownList ID="outputType" runat="server" Height="16px" 
                    style="margin-top: 10px; margin-left: 19px;" Width="103px">
                    <asp:ListItem>C</asp:ListItem>
                    <asp:ListItem>K</asp:ListItem>
                    <asp:ListItem>F</asp:ListItem>
                    <asp:ListItem>N</asp:ListItem>
                </asp:DropDownList>
            </asp:Panel>
        </asp:Panel>
        <asp:Panel ID="Panel4" runat="server" Height="277px" 
            style="margin-left: 33px; margin-top: 22px; margin-bottom: 15px;" 
            Width="385px" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" 
            Font-Size="Small">
            Журнал действий<asp:ListBox ID="logList" runat="server" Height="170px" Rows="6" 
                style="margin-left: 36px; margin-right: 0px;" Width="308px"></asp:ListBox>
            <asp:Button ID="writeLogHtml" runat="server" Height="24px" 
                onclick="writeLogHtml_Click" style="margin-left: 39px" Text="Записать в файл" 
                Width="161px" />
            <asp:TextBox ID="fileName" runat="server" 
                style="margin-left: 18px; margin-top: 11px; margin-right: 13px;" Width="123px">HtmlLog.html</asp:TextBox>
            <asp:Label ID="Label1" runat="server" Text="      Формат:   "></asp:Label>
            <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                onselectedindexchanged="RadioButtonList1_SelectedIndexChanged" 
                RepeatDirection="Horizontal" style="margin-left: 0px">
                <asp:ListItem>txt</asp:ListItem>
                <asp:ListItem Selected="True">html</asp:ListItem>
            </asp:RadioButtonList>
        </asp:Panel>
        <asp:Label ID="errorMassege" runat="server" 
            style="margin-left: 10px ; margin-top: 25px" ForeColor="Red"></asp:Label>
        <br/>
    <br/>
    </form>
    
    </body>
</html>
